﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YYSite.Common;
using YYSite.Common.Domain;
using YYSite.Common.Logging;
using YYSite.Domain.BaseData.Grades;

namespace YYSite.Application.BaseData.Grades
{
    public class GradeService : ApplicationService,IGradeService
    {
        public GradeService(ILogger logger,IGradeRepository gradeRepository):base(logger)
        {
            GradeRepository = gradeRepository;
        }

        protected IGradeRepository GradeRepository { get; }


        public DataGridOutput<Grade> GetGradeByPage(GetGradeDataGridInput input)
        {
            return this.GradeRepository.GetGradeByPage(input);
        }
    }
}


